package org.pcorp.battlespace.persistance.dao;

import java.util.List;

import org.hibernate.SessionFactory;
import org.pcorp.battlespace.persistance.modele.Typevx;
import org.springframework.beans.factory.annotation.Autowired;

public interface TypeVxDao {


	@Autowired
	public abstract void initDao(SessionFactory sessionFactory);

	public abstract void persist(Typevx transientInstance);

	public abstract Typevx findById(long id);
	public abstract Typevx findByName(String name);
	public abstract List<Typevx> getAllType();

}
